package com.seckill.item.constants;


public class ItemErrorInfo {

    //错误信息
    public class Msg {
        public static final String CATEGORY_PARENT_NOT_FOUND = "商品分类父分类没有找到";
        public static final String CATEGORY_CREATE_ON_THIRD = "三级分类下不能再创建子分类";
        public static final String CATEGORY_SAME_NAME = "分类名称不能重复！";
        public static final String CATEGORY_NOT_FOUND = "该分类未找到";
        public static final String CATEGORY_HAVE_CHILD = "该商品有子分类，不能删除";
        public static final String CATEGORY_ADD_NAME_NOT_NULL = "分类名称不能为空！";
        public static final String CATEGORY_ADD_NAME_SIZE = "名称不能超过15个字符";
        public static final String CATEGORY_ADD_INDEX_MAX_MIN = "分类序号格式错误，请重新输入！";
        public static final String CATEGORY_ADD_INDEX_NOT_NULL = "分类序号不能为空！";
        public static final String CATEGORY_ADD_OVER_THIRD_LEVEL = "商品分类不支持三级以上的分类";
        public static final String CATEGORY_ID_NOT_NULL = "未选中商品分类";
        public static final String CATEGORY_DISABLE_ENABLE_STATUS_ENUM = "只有禁用或启用两种状态";
        public static final String CATEGORY_UPDATE_NAME_NOT_NULL = "分类名称不能为空！";
        public static final String CATEGORY_UPDATE_NAME_SIZE = "名称不能超过15个字符";
        public static final String CATEGORY_UPDATE_INDEX_MAX_MIN = "分类序号格式错误，请重新输入！";
        public static final String CATEGORY_UPDATE_INDEX_NOT_NULL = "分类序号不能为空！";
        public static final String CATEGORY_DELETE_HAVE_ITEM = "该分类下含有商品，无法删除";
        public static final String CATEGORY_QUERY_ID_NULL = "查询目录信息，id为空";
        public static final String CATEGORY_DELETE_FAILD = "商品分类删除失败";
        public static final String CATEGORY_ENABLE_CANNOT = "当前上级分类为禁用状态，无法启用";

        public static final String ITEM_SAVE_FAILD = "商品基本信息保存失败";
        public static final String ITEM_SAVE_CATEGORY_NULL = "商品分类为空，请选择商品分类";
        public static final String ITEM_SAVE_CATEGORY_NOT_FOUND = "商品分类未找到";
        public static final String ITEM_CATEGORY_NOT_FOUND = "商品分类未找到";
        public static final String ITEM_SAVE_NAME_NULL = "商品名称为空，请填写商品名称";
        public static final String ITEM_SAVE_COVER_URL_NULL = "商品封面为空，请上传商品封面";
        public static final String ITEM_SAVE_FREE_NULL = "售卖模式为空，请选择售卖模式";
        public static final String ITEM_SAVE_INTRODUCE_NULL = "商品介绍为空，请输入商品介绍";
        public static final String ITEM_SAVE_DETAIL_NULL = "商品详情为空，请输入商品详情";
        public static final String ITEM_SAVE_PRICE_NULL = "商品价格为空，请输入商品价格";
        public static final String ITEM_SAVE_PRICE_NEGATIVE = "商品价格为正数，请输入合法的商品价格";
        public static final String ITEM_SAVE_PURCHASE_ILLEGAL = "商品下架时间不得早于当前时间";
        public static final String ITEM_SAVE_PURCHASE_ILLEGAL2 = "商品开始购买时间不得早于当前";
        public static final String ITEM_SAVE_NAME_EXISTS = "商品名称重复，请重新输入";
        public static final String ITEM_CATAS_SAVE_CHAPTER_NAME_DELETED = "已经上架的{}目录被删除了";
        public static final String ITEM_CATAS_SAVE_CHAPTER_NAME_MOVE = "已经上架的《%s》目录被移动了";
        public static final String ITEM_CATAS_SAVE_INEDX = "目录的章中有序号是重复的";
        public static final String ITEM_CATAS_SAVE_INEDX_JUMP = "目录的章中有序号不连续";
        public static final String ITEM_CATAS_SAVE_CHAPTER_INDEX_REPEAT = "章序号有重复的";
        public static final String ITEM_CATAS_SAVE_CHAPTER_INDEX_INTERRUPTED = "章序号填写有中断";
        public static final String ITEM_CATA_NOT_EXISTS = "目录结构不存在";
        public static final String ITEM_MEDIA_SAVE_ILLEGAL = "请求参数不合法";
        public static final String ITEM_TEACHER_SAVE_ITEM_ID_NULL = "商品id不能为空";
        public static final String ITEM_DELETE_NOT_DOWN_SHELF = "未下架商品不能删除";
        public static final String ITEM_NOT_EXIST = "商品不存在";
        public static final String ITEM_UPDATE_NOT_DOWN_SHELF = "未下架商品不能修改";
        public static final String STOCK_NOT_ENOUGH = "库存不够";

        public static final String ITEM_OPERATE_ID_NULL = "未选定商品";

        public static final String ITEM_UP_SHELF_INFO_INCOMPLETE = "商品信息未填写完，无法上架";
        public static final String ITEM_UP_SHELF_STATE_WRONG = "当前商品不能进行上架";
        public static final String ITEM_UP_SHELF_PURCHASE_ILLEGAL = "下架时间需晚于当前时间";
        public static final String ITEM_UP_SHELF_SECTION_WITHOUT_MEDIA = "小节《{}》未上传媒资";
        public static final String ITEM_UP_SHELF_PRACTICE_WITHOUT_SUBJECT = "练习《{}》未上传题目";
        public static final String ITEM_UP_SHELF_NOT_FOUND_ITEM = "未找到对应的商品";
        public static final String ITEM_UP_SHELF_AREADY = "商品已经上架，请勿重复操作";
        public static final String ITEM_DOWN_SHELF_FAILD = "当前商品不能下架";
        public static final String ITEM_CHECK_NOT_FOUND = "未查询到商品信息";
        public static final String ITEM_CHECK_NOT_EXISTS = "某些商品不存在或已经删除";
        public static final String ITEM_CHECK_DOWN_SHELF = "商品已经下架";
        public static final String ITEM_CHECK_FINISHED = "商品已经完结";
        public static final String ITEM_CHECK_NO_SALE = "商品还未开始销售";
    }
}
